
/* -----------------
* brief 
* 1. this is code gen by tools 
* 2. array like [a,b,c] after each field, define the ui html tag in view, 
		a for title, 
		b for show or not , (onlyread is trial feature)
		c for element html tag , currently support : check、radio、select、input、textarea、upload
* 3. XXX
*/
//go:generate legogen -type=AppSuitItem -kv=ModuleName=appmanager,PrjName=saas_sys_base -dirconf=../../.. ./AppSuitItem.go

/*使用方法一(go generate)：在工程root目录下，执行go generate ./modules/appmanager/models

使用方法二(legogen)：直接调用生成命令
legogen -type=AppSuitItem -kv=ModuleName=appmanager,PrjName=saas_sys_base -dirconf=./. ./modules/appmanager/models/AppSuitItem.go
*/

package appmanager
import (
	"github.com/mjiulee/lego"
	"saas_sys_base/common"
)

func init() {
	lego.AddBeanToSynList(new(AppSuitItem))
}

/* table: "tb_app_suit_item"
 * -----------------
*/
type AppSuitItem struct {
	Id        int64  `xorm:"pk" json:",string"`                  // ["id","hide","hidden"]
	IfDel     int `xorm:"default 0"` // ["deleted","hide","hidden"]
	Cdate     string `xorm:"DateTime created"`    // ["create","hide","datetime"]
	Udate     string `xorm:"DateTime updated"`    // ["update","hide","datetime"]
    // add your custom field here
	AppSuitId int64 `xorm:"" json:",string"`                  // ["APP套餐ID","show","input"]
	AppSuitCode int64 `xorm:"" json:",string"`                  // ["APP套餐码","show","input"]
	MiniAppId int64 `xorm:"" json:",string"` // ["MiniAppId","show","input"]
	CheckMode common.CHECK_MODE `xorm:"default 0"` // ["权限校验模式","show","select"]
}